Use G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking for
authorElliot Lee <sopwith@bogus.cuc.ml.org>
Tue, 15 Dec 1998 23:59:44 +0000 (23:59 +0000)
committerElliot Lee <sopwith@src.gnome.org>
Tue, 15 Dec 1998 23:59:44 +0000 (23:59 +0000)
1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>

* gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
as the mask for checking for GDK_INPUT_EXCEPTION events.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkevents.c
gdk/x11/gdkevents-x11.c

index 6e223828997818299f9eca253a061efdf8801496..71fe2f8551fc06b9103ac411eb33f6c05bd0ba90 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>
+
+       * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
+       as the mask for checking for GDK_INPUT_EXCEPTION events.
+
 1998-12-15  Martin Baulig  <martin@home-of-linux.org>
 
        * acinclude.m4: Make the gettext check for for libc5 systems.
index 6e223828997818299f9eca253a061efdf8801496..71fe2f8551fc06b9103ac411eb33f6c05bd0ba90 100644 (file)
@@ -1,3 +1,8 @@
+1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>
+
+       * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
+       as the mask for checking for GDK_INPUT_EXCEPTION events.
+
 1998-12-15  Martin Baulig  <martin@home-of-linux.org>
 
        * acinclude.m4: Make the gettext check for for libc5 systems.
index 6e223828997818299f9eca253a061efdf8801496..71fe2f8551fc06b9103ac411eb33f6c05bd0ba90 100644 (file)
@@ -1,3 +1,8 @@
+1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>
+
+       * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
+       as the mask for checking for GDK_INPUT_EXCEPTION events.
+
 1998-12-15  Martin Baulig  <martin@home-of-linux.org>
 
        * acinclude.m4: Make the gettext check for for libc5 systems.
index 6e223828997818299f9eca253a061efdf8801496..71fe2f8551fc06b9103ac411eb33f6c05bd0ba90 100644 (file)
@@ -1,3 +1,8 @@
+1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>
+
+       * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
+       as the mask for checking for GDK_INPUT_EXCEPTION events.
+
 1998-12-15  Martin Baulig  <martin@home-of-linux.org>
 
        * acinclude.m4: Make the gettext check for for libc5 systems.
index 6e223828997818299f9eca253a061efdf8801496..71fe2f8551fc06b9103ac411eb33f6c05bd0ba90 100644 (file)
@@ -1,3 +1,8 @@
+1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>
+
+       * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
+       as the mask for checking for GDK_INPUT_EXCEPTION events.
+
 1998-12-15  Martin Baulig  <martin@home-of-linux.org>
 
        * acinclude.m4: Make the gettext check for for libc5 systems.
index 6e223828997818299f9eca253a061efdf8801496..71fe2f8551fc06b9103ac411eb33f6c05bd0ba90 100644 (file)
@@ -1,3 +1,8 @@
+1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>
+
+       * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
+       as the mask for checking for GDK_INPUT_EXCEPTION events.
+
 1998-12-15  Martin Baulig  <martin@home-of-linux.org>
 
        * acinclude.m4: Make the gettext check for for libc5 systems.
index 6e223828997818299f9eca253a061efdf8801496..71fe2f8551fc06b9103ac411eb33f6c05bd0ba90 100644 (file)
@@ -1,3 +1,8 @@
+1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>
+
+       * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
+       as the mask for checking for GDK_INPUT_EXCEPTION events.
+
 1998-12-15  Martin Baulig  <martin@home-of-linux.org>
 
        * acinclude.m4: Make the gettext check for for libc5 systems.
index 2e771f58bfa11f011446e54412fe99780f9cb6c3..8ddf913da7be88504fc049694e342a5fe93d543c 100644 (file)
@@ -763,9 +763,8 @@ gdk_input_add_full (gint          source,
     cond |= (G_IO_IN | G_IO_PRI);
   if (condition & GDK_INPUT_WRITE)
     cond |= G_IO_OUT;
-  /* The things that correspond to GDK_INPUT_EXCEPTION don't
-   * need to be added to events
-   */
+  if (condition & GDK_INPUT_EXCEPTION)
+    cond |= G_IO_ERR|G_IO_HUP|G_IO_NVAL;
 
   channel = g_io_channel_unix_new (source);
   result = g_io_add_watch_full   (channel, 0, cond, gdk_io_invoke,
index 2e771f58bfa11f011446e54412fe99780f9cb6c3..8ddf913da7be88504fc049694e342a5fe93d543c 100644 (file)
@@ -763,9 +763,8 @@ gdk_input_add_full (gint          source,
     cond |= (G_IO_IN | G_IO_PRI);
   if (condition & GDK_INPUT_WRITE)
     cond |= G_IO_OUT;
-  /* The things that correspond to GDK_INPUT_EXCEPTION don't
-   * need to be added to events
-   */
+  if (condition & GDK_INPUT_EXCEPTION)
+    cond |= G_IO_ERR|G_IO_HUP|G_IO_NVAL;
 
   channel = g_io_channel_unix_new (source);
   result = g_io_add_watch_full   (channel, 0, cond, gdk_io_invoke,